package com.game.framework.dao.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document("FishPoleEntity")
@TableName( value ="tf_fish_pole" )
public class FishPoleEntity extends BaseEntity<Long> {

    @TableField(value = "name")
    private String name;

    @TableField(value = "min_rate")
    private int minRate = 1;

    @TableField(value = "max_rate")
    private int maxRate = 1;

    @TableField(value = "fish_type")
    private String fishType;
}

